package com.phoebe.auth.dto;


import com.phoebe.auth.exception.ErrorCodes;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.util.UUID;


@Data
public class ApiClientDTO {

    @NotBlank(message = ErrorCodes.CLIENT_ID_IS_NULL_STR)
    @NotNull(message = ErrorCodes.CLIENT_ID_IS_NULL_STR)
    private String clientId;

    @NotBlank(message = ErrorCodes.CLIENT_SECRET_IS_NULL_STR)
    @NotNull(message = ErrorCodes.CLIENT_SECRET_IS_NULL_STR)
    private String clientSecret;

    private String status;

    private String purpose;

    @NotNull(message = ErrorCodes.ORGANIZAITON_ID_IS_NULL_STR)
    private UUID tenantId;

    private UUID userId;
}